//
//  ZSServiceDemo.m
//  ZhuShou
//
//  Created by Dejun Liu on 15/9/24.
//  Copyright (c) 2015年 jw. All rights reserved.
//

#import "ZSServiceDemo.h"
#import "NetworkService+TianHai.h"

@implementation ZSServiceDemo

JW_SINGLETON_IMPL(ZSServiceDemo)

- (void)demos
{
    //1用户登录
    [[NetworkService sharedInstance]th_postWithParams:@{@"username":@"hongmei",@"password":@"123456"} action:@"ManagerLoginRequest" completion:^(NSDictionary *response, NSError *error) {
        NSLog(@"%@",response);
    }];
    
    //首页轮播广告
    [[NetworkService sharedInstance]th_postWithParams:@{@"type":@"101"} action:@"PushInfo" completion:^(NSDictionary *response, NSError *error) {
        NSLog(@"%@",response);
    }];
    //首页专题
    [[NetworkService sharedInstance]th_postWithParams:@{@"type":@"104"} action:@"PushInfo" completion:^(NSDictionary *response, NSError *error) {
        NSLog(@"%@",response);
    }];
}

@end
